package cn.melon.mod.home;

/**
 * 用于传递主页信息的类
 * @ClassName: HomeInfo
 * @author Hzy
 */
public class HomeInfo {
    private String currentLentBook;//当前借阅的书籍数量
    private String currentDormitoryCost;//当前待缴宿舍水电费用
    private String currentCardBalance;//当前一卡通余额
    private String leftLessonNum;//今日剩余课程数量
    private String currentMorningExerciseTimes;//当前跑操次数
    
    public HomeInfo(){
//        空的构造函数
    }
    public HomeInfo(String bookNum,String cost,String balance,String lessonNum,String times){
        this.setLentBookNum(bookNum);
        this.setDormitoryCost(cost);
        this.setCardBalance(balance);
        this.setLeftLessonNum(lessonNum);
        this.setMorningExerciseTimes(times);
    }
    
    public void setLentBookNum(String bookNum){
        this.currentLentBook = bookNum;
    }
    public void setDormitoryCost(String cost){
        this.currentDormitoryCost = cost;
    }
    public void setCardBalance(String balance){
        this.currentCardBalance = balance;
    }
    public void setLeftLessonNum(String lessonNum){
        this.leftLessonNum = lessonNum;
    }
    public void setMorningExerciseTimes(String times){
        this.currentMorningExerciseTimes = times;
    }

    public String getLentBookNum() {
        return this.currentLentBook;
    }

    public String getDormitoryCost() {
        return this.currentDormitoryCost;
    }

    public String getCardBalance() {
        return this.currentCardBalance;
    }

    public String getLeftLessonNum() {
        return this.leftLessonNum;
    }

    public String getMorningExerciseTimes() {
        return this.currentMorningExerciseTimes;
    }
}
